//
//  main.m
//  08_HomeWork 08 - iOS9 新特性理解
//
//  Created by dllo on 16/7/13.
//  Copyright © 2016年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Employee.h"
#import "Generics.h"
#import "NSMutableArray+Convert.h"

int main(int argc, const char * argv[]) {
    
    Employee *emp = [[Employee alloc] init];
    [emp setName:@"张三"];
    emp.number = @"2134";
    emp.age = nil;
    emp.age = @"22";
    [emp setFriends:@[@"1", @"3"]];
    NSLog(@"%@", emp.friends);
    
    Generics<Employee *> *gen = [[Generics alloc] init];
    [gen setFirstObject:emp];
    gen.firstObject.name = @"HAHA";
    NSLog(@"%@", emp.name);
    
    NSMutableArray *mutbleArr = [NSMutableArray arrayWithObjects:@4, @54, @65, @33, @12, nil];
    [mutbleArr convert];
    NSLog(@"%@", mutbleArr);
    
    return 0;
}
